package control;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;

public class TestController extends MultiActionController {
	public ModelAndView test(HttpServletRequest request,HttpServletResponse response){
		System.out.println("test..");
		return new ModelAndView("home");
	}
	public ModelAndView login(HttpServletRequest request,HttpServletResponse response){
		System.out.println("login..");
		return new ModelAndView("login.member");
	}
	public ModelAndView register(HttpServletRequest request,HttpServletResponse response){
		System.out.println("register..");
		return new ModelAndView("register");
		
	}
	public ModelAndView adminlogin(HttpServletRequest request,HttpServletResponse response){
		System.out.println("adminLogin");
		return new ModelAndView("admin/adminlogin.member");
	}
}
